<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>SIM SDIT KESISWAAN</title>
    </head>
    <body>
        <h1>Siswa</h1>
        <a href="<?php echo site_url("kesiswaan/index");?>">Index</a>
       
        <a href="<?php echo site_url("kesiswaan/siswa_list");?>">List Siswa</a>
   
        <table border="1">
            <thead>
                <tr>
                    <th>No</th>
                    <th>No Pendaftaran</th>
                    <th>Nama Lengkap</th>
                    <th>Update</th>
                    <th>Delete</th>
                  
                </tr>
            </thead>
            <tbody>
                <?php $no = 1;?>
                <?php foreach ($siswa_list as $item):?>
                <tr>
                    <td><?php echo $no;?></td>
                    <td><?php echo $item->no_pendaftaran;?></td>
                    <td><?php echo $item->nama;?></td>
                    <td><a href="<?php echo site_url('kesiswaan/siswa_profile/'.$item->no_pendaftaran);?>">Profile</a></td>
                    <td><a href="<?php echo site_url('kesiswaan/siswa_delete/'.$item->no_pendaftaran);?>">Delete</a></td>
                    
                </tr>
                    <?php $no++;?>
                <?php endforeach;?>
            </tbody>
        </table>

    </body>
</html>
